package com.example.plat.enity.dto;

import com.example.plat.enity.Activity;
import com.example.plat.enity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

//用于传输用户自己创建的活动信息
@Data
@ApiModel(description = "用户DTO")
public class MyActivityDto extends User {

    @ApiModelProperty("用户发布的活动")
    List<Activity> myActivity;
}
